package com.hdu.careerplan.pojo.pythonData;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Document("comResult")
public class CompanyInfoData {

    @Data
    @AllArgsConstructor
    public class TechData {
        private String name;
        private Double rate;
    }

    @Data
    @AllArgsConstructor
    public class Salary {
        private Double min;

        private Double avg;

        private Double max;

    }


    /**
     * 公司名
     */
    private String name;

    /**
     * 描述
     */
    private String description;

    /**
     * 公司网址
     */
    private String url;

    /**
     * 技术及占比
     */
    private List<TechData> tech;

    /**
     * 薪资
     */
    private Salary salary;

    /**
     * 岗位数量
     */
    private String jobCnt;

    /**
     * 工作时间
     */
    private String workTime;

    /**
     * 福利
     */
    private List<String> welfare;

    /**
     * logo URL
     */
    private String logo;

    /**
     * 网页更新时间
     */
    private String updateTime;




}
